package com.atguigu.spzx.manager.mapper;

import com.atguigu.spzx.model.dto.system.SysRoleDto;
import com.atguigu.spzx.model.entity.system.SysRole;

import java.util.List;

public interface SysRoleMapper {

    List<SysRole> findByPage(String rolename);

    void insertSysRole(SysRole sysRole);

    void updateSysRole(SysRole sysRole);

    void deleteById(Integer id);

    List<SysRole> selectAll();

    List<Long> selectByUserId(Long userId);
}
